package com.ethink.system.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ethink.system.api.info.SystemOrganizationInfo;
import com.ethink.system.api.request.OrganizationPageQueryRequest;
import org.apache.ibatis.annotations.Mapper;
import com.ethink.system.common.entity.SystemOrganization;
import org.apache.ibatis.annotations.Param;

/**
 * 系统组织机构表 Mapper接口
 *
 * @author default
 * @date 2022-09-26
 */
@Mapper
public interface SystemOrganizationMapper extends BaseMapper<SystemOrganization> {

    /**
     * 分页查询
     * @param request
     * @return
     */
    Page<SystemOrganizationInfo> pageQuerySystemOrganization(Page page,@Param("query") OrganizationPageQueryRequest request);
}